Searched refs:blks (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/ |
D | ocb.c | 348 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks() argument 351 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks() 355 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks() argument 358 AES_decrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_decrypt_blks() 394 static void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks() argument 397 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks() 401 void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks() argument 404 AES_decrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_decrypt_blks() 575 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks() argument 579 blks[i] = _mm_xor_si128(blks[i], sched[0]); in AES_ecb_encrypt_blks() [all …]
|