Searched refs:label_length (Results 1 – 4 of 4) sorted by relevance
/trusted-firmware-m-3.5.0/secure_fw/partitions/protected_storage/ |
D | ps_encrypted_object.c | 73 size_t out_len, label_length; in ps_object_auth_decrypt() local 75 err = fill_key_label(obj, &label_length); in ps_object_auth_decrypt() 80 err = ps_crypto_setkey(ps_crypto_buf, label_length); in ps_object_auth_decrypt() 125 size_t out_len, label_length; in ps_object_auth_encrypt() local 127 err = fill_key_label(obj, &label_length); in ps_object_auth_encrypt() 132 err = ps_crypto_setkey(ps_crypto_buf, label_length); in ps_object_auth_encrypt()
|
/trusted-firmware-m-3.5.0/platform/ext/accelerator/cc312/bl1/ |
D | cc312_rom_crypto.c | 219 size_t label_length, const uint8_t *context, in bl1_derive_key() argument 224 uint8_t state_size = label_length + context_length + sizeof(uint8_t) in bl1_derive_key() 237 if (label == NULL || label_length == 0 || in bl1_derive_key() 247 memcpy(state + sizeof(uint32_t), label, label_length); in bl1_derive_key() 248 memset(state + sizeof(uint32_t) + label_length, 0, sizeof(uint8_t)); in bl1_derive_key() 249 memcpy(state + sizeof(uint32_t) + label_length + sizeof(uint8_t), in bl1_derive_key() 251 memcpy(state + sizeof(uint32_t) + label_length + sizeof(uint8_t) + context_length, in bl1_derive_key()
|
/trusted-firmware-m-3.5.0/bl1/bl1_1/shared_lib/interface/ |
D | crypto.h | 47 size_t label_length, const uint8_t *context,
|
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_psa_asymmetric_encryption.c | 143 size_t input_length, const uint8_t *label, size_t label_length, in cc3xx_internal_rsa_decrypt() argument 182 label_length, in cc3xx_internal_rsa_decrypt()
|