Home
last modified time | relevance | path

Searched refs:OH_CryptoSymKeyGenerator (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/docs/zh-cn/application-dev/reference/apis-crypto-architecture-kit/
H A D_crypto_sym_key_api.md26 | typedef struct [OH_CryptoSymKeyGenerator](#oh_cryptosymkeygenerator) [OH_CryptoSymKeyGenerator](#…
33 …ate](#oh_cryptosymkeygenerator_create) (const char \*algoName, [OH_CryptoSymKeyGenerator](#oh_cryp…
34 …SymKeyGenerator_Generate](#oh_cryptosymkeygenerator_generate) ([OH_CryptoSymKeyGenerator](#oh_cryp…
36 …Generator_GetAlgoName](#oh_cryptosymkeygenerator_getalgoname) ([OH_CryptoSymKeyGenerator](#oh_cryp…
37 …toSymKeyGenerator_Destroy](#oh_cryptosymkeygenerator_destroy) ([OH_CryptoSymKeyGenerator](#oh_cryp…
59 ### OH_CryptoSymKeyGenerator subsection
154 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Convert (OH_CryptoSymKeyGenerator *ctx, const Crypto_Dat…
189 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Create (const char *algoName, OH_CryptoSymKeyGenerator *…
223 void OH_CryptoSymKeyGenerator_Destroy (OH_CryptoSymKeyGenerator *ctx)
242 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Generate (OH_CryptoSymKeyGenerator *ctx, OH_CryptoSymKey…
[all …]
H A Dcrypto__sym__key_8h.md25 | typedef struct [OH_CryptoSymKeyGenerator](_crypto_sym_key_api.md#oh_cryptosymkeygenerator) [OH_Cr…
32 …pi.md#oh_cryptosymkeygenerator_create) (const char \*algoName, [OH_CryptoSymKeyGenerator](_crypto_…
33 …te](_crypto_sym_key_api.md#oh_cryptosymkeygenerator_generate) ([OH_CryptoSymKeyGenerator](_crypto_…
34 …ert](_crypto_sym_key_api.md#oh_cryptosymkeygenerator_convert) ([OH_CryptoSymKeyGenerator](_crypto_…
35 …(_crypto_sym_key_api.md#oh_cryptosymkeygenerator_getalgoname) ([OH_CryptoSymKeyGenerator](_crypto_…
36 …roy](_crypto_sym_key_api.md#oh_cryptosymkeygenerator_destroy) ([OH_CryptoSymKeyGenerator](_crypto_…
/ohos5.0/base/security/crypto_framework/interfaces/kits/native/include/
H A Dcrypto_sym_key.h57 typedef struct OH_CryptoSymKeyGenerator OH_CryptoSymKeyGenerator; typedef
71 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Create(const char *algoName, OH_CryptoSymKeyGenerator **…
85 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Generate(OH_CryptoSymKeyGenerator *ctx, OH_CryptoSymKey …
100 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Convert(OH_CryptoSymKeyGenerator *ctx,
110 const char *OH_CryptoSymKeyGenerator_GetAlgoName(OH_CryptoSymKeyGenerator *ctx);
118 void OH_CryptoSymKeyGenerator_Destroy(OH_CryptoSymKeyGenerator *ctx);
/ohos5.0/docs/en/application-dev/reference/apis-crypto-architecture-kit/
H A D_crypto_sym_key_api.md26 | typedef struct [OH_CryptoSymKeyGenerator](#oh_cryptosymkeygenerator) [OH_CryptoSymKeyGenerator](#…
33 …ate](#oh_cryptosymkeygenerator_create) (const char \*algoName, [OH_CryptoSymKeyGenerator](#oh_cryp…
34 …SymKeyGenerator_Generate](#oh_cryptosymkeygenerator_generate) ([OH_CryptoSymKeyGenerator](#oh_cryp…
36 …Generator_GetAlgoName](#oh_cryptosymkeygenerator_getalgoname) ([OH_CryptoSymKeyGenerator](#oh_cryp…
37 …toSymKeyGenerator_Destroy](#oh_cryptosymkeygenerator_destroy) ([OH_CryptoSymKeyGenerator](#oh_cryp…
59 ### OH_CryptoSymKeyGenerator subsection
154 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Convert (OH_CryptoSymKeyGenerator *ctx, const Crypto_Dat…
189 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Create (const char *algoName, OH_CryptoSymKeyGenerator *…
223 void OH_CryptoSymKeyGenerator_Destroy (OH_CryptoSymKeyGenerator *ctx)
242 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Generate (OH_CryptoSymKeyGenerator *ctx, OH_CryptoSymKey…
[all …]
H A Dcrypto__sym__key_8h.md25 | typedef struct [OH_CryptoSymKeyGenerator](_crypto_sym_key_api.md#oh_cryptosymkeygenerator) [OH_Cr…
32 …pi.md#oh_cryptosymkeygenerator_create) (const char \*algoName, [OH_CryptoSymKeyGenerator](_crypto_…
33 …te](_crypto_sym_key_api.md#oh_cryptosymkeygenerator_generate) ([OH_CryptoSymKeyGenerator](_crypto_…
34 …ert](_crypto_sym_key_api.md#oh_cryptosymkeygenerator_convert) ([OH_CryptoSymKeyGenerator](_crypto_…
35 …(_crypto_sym_key_api.md#oh_cryptosymkeygenerator_getalgoname) ([OH_CryptoSymKeyGenerator](_crypto_…
36 …roy](_crypto_sym_key_api.md#oh_cryptosymkeygenerator_destroy) ([OH_CryptoSymKeyGenerator](_crypto_…
/ohos5.0/base/security/crypto_framework/frameworks/native/src/
H A Dsym_key.c26 struct OH_CryptoSymKeyGenerator { struct
45 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Create(const char *algoName, OH_CryptoSymKeyGenerator **… in OH_CryptoSymKeyGenerator_Create() argument
54 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Generate(OH_CryptoSymKeyGenerator *ctx, OH_CryptoSymKey … in OH_CryptoSymKeyGenerator_Generate()
63 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Convert(OH_CryptoSymKeyGenerator *ctx, in OH_CryptoSymKeyGenerator_Convert()
73 const char *OH_CryptoSymKeyGenerator_GetAlgoName(OH_CryptoSymKeyGenerator *ctx) in OH_CryptoSymKeyGenerator_GetAlgoName()
81 void OH_CryptoSymKeyGenerator_Destroy(OH_CryptoSymKeyGenerator *ctx) in OH_CryptoSymKeyGenerator_Destroy()
/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-generate-sym-key-randomly-ndk.md17 …yptosymkeygenerator_create),指定字符串参数'AES256',创建密钥算法为AES、密钥长度为256位的对称密钥生成器(OH_CryptoSymKeyGenerator)。
30 OH_CryptoSymKeyGenerator *ctx = nullptr;
57 …ptosymkeygenerator_create),指定字符串参数'SM4_128',创建密钥算法为SM4、密钥长度为128位的对称密钥生成器(OH_CryptoSymKeyGenerator)。
70 OH_CryptoSymKeyGenerator *ctx = nullptr;
H A Dcrypto-convert-binary-data-to-sym-key-ndk.md17 …tosymkeygenerator_create),指定字符串参数'3DES192',创建密钥算法为3DES、密钥长度为192位的对称密钥生成器(OH_CryptoSymKeyGenerator)。
31 OH_CryptoSymKeyGenerator *ctx = nullptr;
64 …mkeygenerator_create),指定字符串参数'HMAC',创建密钥算法为HMAC、密钥长度为[1, 32768]位的对称密钥生成器(OH_CryptoSymKeyGenerator)。
79 OH_CryptoSymKeyGenerator *ctx = nullptr;
H A Dcrypto-3des-sym-encrypt-decrypt-ecb-ndk.md55 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-aes-sym-encrypt-decrypt-ecb-ndk.md45 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-sm4-sym-encrypt-decrypt-ecb-ndk.md55 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-aes-sym-encrypt-decrypt-cbc-ndk.md48 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-sm4-sym-encrypt-decrypt-cbc-ndk.md55 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-aes-sym-encrypt-decrypt-ccm-ndk.md61 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-aes-sym-encrypt-decrypt-gcm-ndk.md63 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-sm4-sym-encrypt-decrypt-gcm-ndk.md60 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-aes-sym-encrypt-decrypt-gcm-by-segment-ndk.md68 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-sm4-sym-encrypt-decrypt-gcm-by-segment-ndk.md67 OH_CryptoSymKeyGenerator *genCtx = nullptr;
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-generate-sym-key-randomly-ndk.md17 …g parameter **'AES256'** to create a symmetric key generator (**OH_CryptoSymKeyGenerator**) object…
31 OH_CryptoSymKeyGenerator *ctx = nullptr;
58 … parameter **'SM4_128'** to create a symmetric key generator (**OH_CryptoSymKeyGenerator**) object…
72 OH_CryptoSymKeyGenerator *ctx = nullptr;
H A Dcrypto-convert-binary-data-to-sym-key-ndk.md17 … parameter **'3DES192'** to create a symmetric key generator (**OH_CryptoSymKeyGenerator**) object…
31 OH_CryptoSymKeyGenerator *ctx = nullptr;
64 …ing parameter **'HMAC'** to create a symmetric key generator (**OH_CryptoSymKeyGenerator**) object…
79 OH_CryptoSymKeyGenerator *ctx = nullptr;
H A Dcrypto-3des-sym-encrypt-decrypt-ecb-ndk.md55 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-aes-sym-encrypt-decrypt-ecb-ndk.md45 OH_CryptoSymKeyGenerator *genCtx = nullptr;
H A Dcrypto-sm4-sym-encrypt-decrypt-cbc-ndk.md55 OH_CryptoSymKeyGenerator *genCtx = nullptr;
/ohos5.0/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_key_test.cpp48 OH_CryptoSymKeyGenerator *ctx = nullptr;
67 OH_CryptoSymKeyGenerator *ctx = nullptr;
H A Dnative_sym_cipher_test.cpp167 OH_CryptoSymKeyGenerator *ctx = nullptr;

12