Home
last modified time | relevance | path

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

/titanic_41/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c623 uint32_t tmpblock[] = {0, 0}; in blowfish_init_keysched() local
664 (void) blowfish_encrypt_block(newbie, (uint8_t *)tmpblock, in blowfish_init_keysched()
665 (uint8_t *)tmpblock); in blowfish_init_keysched()
666 *initp++ = ntohl(tmpblock[0]); in blowfish_init_keysched()
667 *initp++ = ntohl(tmpblock[1]); in blowfish_init_keysched()
672 (void) blowfish_encrypt_block(newbie, (uint8_t *)tmpblock, in blowfish_init_keysched()
673 (uint8_t *)tmpblock); in blowfish_init_keysched()
674 *initp++ = ntohl(tmpblock[0]); in blowfish_init_keysched()
675 *initp++ = ntohl(tmpblock[1]); in blowfish_init_keysched()
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c382 CK_BYTE tmpblock[AES_BLOCK_LEN]; in soft_aes_encrypt_common() local
383 (void) memcpy(tmpblock, in_buf + out_len, in soft_aes_encrypt_common()
385 soft_add_pkcs7_padding(tmpblock + in soft_aes_encrypt_common()
397 (char *)tmpblock, AES_BLOCK_LEN, &out); in soft_aes_encrypt_common()
H A DsoftDESCrypt.c409 CK_BYTE tmpblock[DES_BLOCK_LEN]; in soft_des_encrypt_common() local
410 (void) memcpy(tmpblock, in_buf + out_len, in soft_des_encrypt_common()
412 soft_add_pkcs7_padding(tmpblock + in soft_des_encrypt_common()
424 (char *)tmpblock, DES_BLOCK_LEN, &out); in soft_des_encrypt_common()