Home
last modified time | relevance | path

Searched refs:expkey (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/lib/
Daes.c512 void aes_expand_key(u8 *key, u8 *expkey) in aes_expand_key() argument
517 memcpy(expkey, key, AES_KEYCOLS * 4); in aes_expand_key()
520 tmp0 = expkey[4*idx - 4]; in aes_expand_key()
521 tmp1 = expkey[4*idx - 3]; in aes_expand_key()
522 tmp2 = expkey[4*idx - 2]; in aes_expand_key()
523 tmp3 = expkey[4*idx - 1]; in aes_expand_key()
537 expkey[4*idx+0] = expkey[4*idx - 4*AES_KEYCOLS + 0] ^ tmp0; in aes_expand_key()
538 expkey[4*idx+1] = expkey[4*idx - 4*AES_KEYCOLS + 1] ^ tmp1; in aes_expand_key()
539 expkey[4*idx+2] = expkey[4*idx - 4*AES_KEYCOLS + 2] ^ tmp2; in aes_expand_key()
540 expkey[4*idx+3] = expkey[4*idx - 4*AES_KEYCOLS + 3] ^ tmp3; in aes_expand_key()
[all …]
/external/u-boot/include/
Duboot_aes.h42 void aes_expand_key(u8 *key, u8 *expkey);
51 void aes_encrypt(u8 *in, u8 *expkey, u8 *out);
60 void aes_decrypt(u8 *in, u8 *expkey, u8 *out);
/external/ltp/pan/
Dtag_report.c57 char *expert, expkey[KEYSIZE]; in test_result() local
71 strcpy(expkey, "contacts"); in test_result()
73 if ((expert = (char *)sym_get(tags, expkey)) == NULL) { in test_result()