Home
last modified time | relevance | path

Searched refs:cipherAttr (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/security/crypto_framework/frameworks/crypto_operation/
H A Dcipher.c58 cipherAttr->keySize = 0; in SetKeyType()
62 cipherAttr->algo = HCF_ALG_AES; in SetKeyType()
65 cipherAttr->algo = HCF_ALG_SM4; in SetKeyType()
68 cipherAttr->algo = HCF_ALG_DES; in SetKeyType()
71 cipherAttr->algo = HCF_ALG_RSA; in SetKeyType()
74 cipherAttr->algo = HCF_ALG_SM2; in SetKeyType()
86 cipherAttr->keySize = value; in SetKeyLength()
92 cipherAttr->algo = HCF_ALG_AES; in SetKeyLength()
95 cipherAttr->algo = HCF_ALG_SM4; in SetKeyLength()
121 cipherAttr->mode = value ; in SetMode()
[all …]