Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c202 soft_aes_init_ctx(aes_ctx_t *aes_ctx, CK_MECHANISM_PTR mech_p, in soft_aes_init_ctx() argument
207 switch (mech_p->mechanism) { in soft_aes_init_ctx()
217 rc = cbc_init_ctx((cbc_ctx_t *)aes_ctx, mech_p->pParameter, in soft_aes_init_ctx()
218 mech_p->ulParameterLen, AES_BLOCK_LEN, aes_copy_block64); in soft_aes_init_ctx()
226 CK_AES_CTR_PARAMS *pp = (CK_AES_CTR_PARAMS *)mech_p->pParameter; in soft_aes_init_ctx()
233 CK_CCM_PARAMS *pp = (CK_CCM_PARAMS *)mech_p->pParameter; in soft_aes_init_ctx()
262 rc = gcm_init_ctx((gcm_ctx_t *)aes_ctx, mech_p->pParameter, in soft_aes_init_ctx()