Home
last modified time | relevance | path

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

/f-stack/freebsd/crypto/rijndael/
H A Drijndael-alg-fst.c728 #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st… macro
1020 PUTU32(ct , s0); in rijndaelEncrypt()
1027 PUTU32(ct + 4, s1); in rijndaelEncrypt()
1034 PUTU32(ct + 8, s2); in rijndaelEncrypt()
1041 PUTU32(ct + 12, s3); in rijndaelEncrypt()
1201 PUTU32(pt , s0); in rijndaelDecrypt()
1208 PUTU32(pt + 4, s1); in rijndaelDecrypt()
1215 PUTU32(pt + 8, s2); in rijndaelDecrypt()
1222 PUTU32(pt + 12, s3); in rijndaelDecrypt()
/f-stack/freebsd/crypto/camellia/
H A Dcamellia.c72 #define PUTU32(ct, st) {(ct)[0] = (uint8_t)((st) >> 24); \ macro
1296 PUTU32(ciphertext, tmp[0]); in Camellia_EncryptBlock()
1297 PUTU32(ciphertext+4, tmp[1]); in Camellia_EncryptBlock()
1298 PUTU32(ciphertext+8, tmp[2]); in Camellia_EncryptBlock()
1299 PUTU32(ciphertext+12, tmp[3]); in Camellia_EncryptBlock()
1328 PUTU32(plaintext, tmp[0]); in Camellia_DecryptBlock()
1329 PUTU32(plaintext+4, tmp[1]); in Camellia_DecryptBlock()
1330 PUTU32(plaintext+8, tmp[2]); in Camellia_DecryptBlock()
1331 PUTU32(plaintext+12, tmp[3]); in Camellia_DecryptBlock()