Searched refs:key_id (Results 1 – 8 of 8) sorted by relevance
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/ |
A D | utils.c | 127 uint64_t key_id = 0; in se050_rsa_keypair_from_nvm() local 135 crypto_bignum_bn2bin(key->d, (uint8_t *)&key_id); in se050_rsa_keypair_from_nvm() 137 return se050_key(key_id); in se050_rsa_keypair_from_nvm() 142 uint64_t key_id = 0; in se050_ecc_keypair_from_nvm() local 150 crypto_bignum_bn2bin(key->d, (uint8_t *)&key_id); in se050_ecc_keypair_from_nvm() 152 return se050_key(key_id); in se050_ecc_keypair_from_nvm()
|
/optee_os-3.20.0/core/drivers/ |
A D | versal_huk.c | 183 uint32_t key_id = CFG_VERSAL_HUK_KEY; in aes_gcm_encrypt() local 185 if (key_id > VERSAL_AES_ALL_KEYS) in aes_gcm_encrypt() 194 if (!versal_persistent_key(key_id, &secure)) { in aes_gcm_encrypt() 201 cmd.data[2] = key_id; in aes_gcm_encrypt() 224 init->key_src = key_id; in aes_gcm_encrypt()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | pkwrite.c | 201 psa_key_id_t* key_id = (psa_key_id_t*) key->pk_ctx; in mbedtls_pk_write_pubkey() local 207 if ( psa_export_public_key( *key_id, start, buffer_size, &len ) in mbedtls_pk_write_pubkey() 268 psa_key_id_t key_id; in mbedtls_pk_write_pubkey_der() local 272 key_id = *((psa_key_id_t*) key->pk_ctx ); in mbedtls_pk_write_pubkey_der() 273 if( PSA_SUCCESS != psa_get_key_attributes( key_id, &attributes ) ) in mbedtls_pk_write_pubkey_der()
|
A D | pk_wrap.c | 546 psa_key_id_t key_id = 0; in ecdsa_verify_wrap() local 579 &key_id ); in ecdsa_verify_wrap() 601 if( psa_verify_hash( key_id, psa_sig_md, in ecdsa_verify_wrap() 618 psa_destroy_key( key_id ); in ecdsa_verify_wrap()
|
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/apis/ |
A D | user.c | 14 uint32_t key_id) in alloc_scp_key_to_auth() argument 25 return sss_host_key_object_allocate_handle(k_object, key_id, in alloc_scp_key_to_auth()
|
A D | apdu.c | 24 bool se050_key_exists(uint32_t key_id, pSe05xSession_t ctx) in se050_key_exists() argument 32 status = Se05x_API_CheckObjectExists(ctx, key_id, &inuse); in se050_key_exists()
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | rsa.c | 178 uint32_t key_id = 0; in se050_inject_keypair() local 185 key_id = se050_rsa_keypair_from_nvm(key); in se050_inject_keypair() 186 if (key_id) { in se050_inject_keypair() 187 st = sss_se05x_key_object_get_handle(k_object, key_id); in se050_inject_keypair() 578 uint32_t key_id = 0; in do_free_keypair() local 583 key_id = se050_rsa_keypair_from_nvm(s); in do_free_keypair() 584 if (key_id) { in do_free_keypair() 585 st = sss_se05x_key_object_get_handle(&k_object, key_id); in do_free_keypair()
|
A D | ecc.c | 321 uint32_t key_id = 0; in se050_inject_keypair() local 328 key_id = se050_ecc_keypair_from_nvm(key); in se050_inject_keypair() 329 if (key_id) { in se050_inject_keypair() 330 st = sss_se05x_key_object_get_handle(k_object, key_id); in se050_inject_keypair()
|
Completed in 13 milliseconds