Home
last modified time | relevance | path

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

/base/security/crypto_framework/frameworks/crypto_operation/
H A Dcipher.c56 CipherAttr *cipherAttr = (CipherAttr *)cipher; in SetKeyType() local
58 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()
84 CipherAttr *cipherAttr = (CipherAttr *)cipher; in SetKeyLength() local
86 cipherAttr->keySize = value; in SetKeyLength()
92 cipherAttr in SetKeyLength()
120 CipherAttr *cipherAttr = (CipherAttr *)cipher; SetMode() local
126 CipherAttr *cipherAttr = (CipherAttr *)cipher; SetPadding() local
[all...]

Completed in 2 milliseconds