Home
last modified time | relevance | path

Searched refs:ksch (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/common/net/wanboot/crypt/
H A Ddes3.c64 keysched_t *ksch = (keysched_t *)cookie; in des3_encrypt() local
66 des(ksch->ksch_encrypt1, block); in des3_encrypt()
67 des(ksch->ksch_decrypt2, block); in des3_encrypt()
68 des(ksch->ksch_encrypt3, block); in des3_encrypt()
74 keysched_t *ksch = (keysched_t *)cookie; in des3_decrypt() local
76 des(ksch->ksch_decrypt3, block); in des3_decrypt()
77 des(ksch->ksch_encrypt2, block); in des3_decrypt()
78 des(ksch->ksch_decrypt1, block); in des3_decrypt()
H A Daes.c758 keysched_t *ksch = (keysched_t *)cookie; in aes_encrypt() local
760 uint32_t *rk = ksch->rk_e; in aes_encrypt()
761 uint32_t Nr = ksch->Nr; in aes_encrypt()
961 keysched_t *ksch = (keysched_t *)cookie; in aes_decrypt() local
963 uint32_t *rk = ksch->rk_d; in aes_decrypt()
964 uint32_t Nr = ksch->Nr; in aes_decrypt()
/titanic_50/usr/src/common/crypto/aes/
H A Daes_impl.c1638 aes_key_t *ksch = (aes_key_t *)ks; in aes_encrypt_block() local
1643 AES_ENCRYPT_IMPL(&ksch->encr_ks.ks32[0], ksch->nr, in aes_encrypt_block()
1645 (uint32_t *)pt, (uint32_t *)ct, ksch->flags); in aes_encrypt_block()
1661 AES_ENCRYPT_IMPL(&ksch->encr_ks.ks32[0], ksch->nr, in aes_encrypt_block()
1662 buffer, buffer, ksch->flags); in aes_encrypt_block()
1691 aes_key_t *ksch = (aes_key_t *)ks; in aes_decrypt_block() local
1696 AES_DECRYPT_IMPL(&ksch->decr_ks.ks32[0], ksch->nr, in aes_decrypt_block()
1698 (uint32_t *)ct, (uint32_t *)pt, ksch->flags); in aes_decrypt_block()
1714 AES_DECRYPT_IMPL(&ksch->decr_ks.ks32[0], ksch->nr, in aes_decrypt_block()
1715 buffer, buffer, ksch->flags); in aes_decrypt_block()
/titanic_50/usr/src/common/crypto/des/
H A Ddes_impl.c506 keysched3_t *ksch = (keysched3_t *)cookie; in des3_crunch_block() local
519 ksch->ksch_decrypt, /* LINTED */ in des3_crunch_block()
524 ksch->ksch_encrypt, /* LINTED */ in des3_crunch_block()
541 tmp = des_crypt_impl(ksch->ksch_decrypt, tmp, 3); in des3_crunch_block()
543 tmp = des_crypt_impl(ksch->ksch_encrypt, tmp, 3); in des3_crunch_block()
565 keysched_t *ksch = (keysched_t *)cookie; in des_crunch_block() local
578 ksch->ksch_decrypt, /* LINTED */ in des_crunch_block()
583 ksch->ksch_encrypt, /* LINTED */ in des_crunch_block()
602 tmp = des_crypt_impl(ksch->ksch_decrypt, tmp, 1); in des_crunch_block()
604 tmp = des_crypt_impl(ksch->ksch_encrypt, tmp, 1); in des_crunch_block()
/titanic_50/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c377 keysched_t *ksch = (keysched_t *)cookie; in blowfish_encrypt_block() local
380 uint32_t *P = ksch->ksch_P; in blowfish_encrypt_block()
381 uint32_t *S = ksch->ksch_S; in blowfish_encrypt_block()
472 keysched_t *ksch = (keysched_t *)cookie; in blowfish_decrypt_block() local
475 uint32_t *P = ksch->ksch_P; in blowfish_decrypt_block()
476 uint32_t *S = ksch->ksch_S; in blowfish_decrypt_block()