Home
last modified time | relevance | path

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

/trusted-firmware-a-latest/tools/encrypt_fw/src/
Dencrypt.c22 static int gcm_encrypt(unsigned short fw_enc_status, char *key_string, in gcm_encrypt() argument
36 if (strlen(key_string) != KEY_STRING_SIZE) { in gcm_encrypt()
37 ERROR("Unsupported key size: %lu\n", strlen(key_string)); in gcm_encrypt()
42 if (sscanf(&key_string[j], "%02hhx", &key[i]) != 1) { in gcm_encrypt()
157 int encrypt_file(unsigned short fw_enc_status, int enc_alg, char *key_string, in encrypt_file() argument
162 return gcm_encrypt(fw_enc_status, key_string, nonce_string, in encrypt_file()
/trusted-firmware-a-latest/tools/encrypt_fw/include/
Dencrypt.h16 int encrypt_file(unsigned short fw_enc_status, int enc_alg, char *key_string,