Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes2.c168 res->key_bits = 40; in pbes2_extract()
171 res->key_bits = 64; in pbes2_extract()
174 res->key_bits = 128; in pbes2_extract()
180 res->key_bits = klen; in pbes2_extract()
189 res->key_bits = 32; in pbes2_extract()
A Dpbes.c36 if (arg->key_bits != 0) { in pbes_decrypt()
38 if ((arg->key_bits % 8) != 0) return CRYPT_INVALID_KEYSIZE; in pbes_decrypt()
40 klen = arg->key_bits / 8; in pbes_decrypt()
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Decc.c454 size_t key_bits = 0; in shared_secret() local
460 ret = ecc_get_key_size(private_key->curve, 0, &key_bytes, &key_bits); in shared_secret()
521 size_t key_bits = 0; in sign() local
524 res = ecc_get_key_size(key->curve, algo, &key_bytes, &key_bits); in sign()
598 size_t key_bits = 0; in verify() local
601 res = ecc_get_key_size(key->curve, algo, &key_bytes, &key_bits); in verify()
/optee_os-3.20.0/ta/pkcs11/src/
A Dpkcs11_attributes.c2238 uint32_t key_bits = 0; in set_private_key_data_rsa() local
2250 rc = get_u32_attribute(*head, PKCS11_CKA_MODULUS_BITS, &key_bits); in set_private_key_data_rsa()
2281 if (key_bits && mbedtls_mpi_bitlen(&n) != key_bits) { in set_private_key_data_rsa()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h70 unsigned long key_bits; member

Completed in 11 milliseconds