Searched refs:active_op (Results 1 – 3 of 3) sorted by relevance
51 crypto_active_op_t *active_op; in soft_arcfour_crypt_init() local76 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt); in soft_arcfour_crypt_init()77 active_op->context = keystream; in soft_arcfour_crypt_init()78 active_op->mech.mechanism = pMechanism->mechanism; in soft_arcfour_crypt_init()106 soft_arcfour_crypt(crypto_active_op_t *active_op, CK_BYTE_PTR input, in soft_arcfour_crypt() argument109 ARCFour_key *keystream = active_op->context; in soft_arcfour_crypt()
446 crypto_active_op_t *active_op; in soft_sign_verify_cleanup() local452 active_op = (sign) ? &(session_p->sign) : &(session_p->verify); in soft_sign_verify_cleanup()454 switch (active_op->mech.mechanism) { in soft_sign_verify_cleanup()472 (soft_rsa_ctx_t *)active_op->context; in soft_sign_verify_cleanup()492 (soft_dsa_ctx_t *)active_op->context; in soft_sign_verify_cleanup()513 if (active_op->context != NULL) in soft_sign_verify_cleanup()514 bzero(active_op->context, sizeof (soft_hmac_ctx_t)); in soft_sign_verify_cleanup()523 if (active_op->context != NULL) in soft_sign_verify_cleanup()524 bzero(active_op->context, sizeof (soft_des_ctx_t)); in soft_sign_verify_cleanup()529 if (active_op->context != NULL) { in soft_sign_verify_cleanup()[all …]
846 crypto_active_op_t *active_op; in soft_crypt_cleanup() local852 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt); in soft_crypt_cleanup()854 switch (active_op->mech.mechanism) { in soft_crypt_cleanup()865 (soft_des_ctx_t *)active_op->context; in soft_crypt_cleanup()887 (soft_aes_ctx_t *)active_op->context; in soft_crypt_cleanup()907 (soft_blowfish_ctx_t *)active_op->context; in soft_crypt_cleanup()928 ARCFour_key *key = (ARCFour_key *)active_op->context; in soft_crypt_cleanup()939 (soft_rsa_ctx_t *)active_op->context; in soft_crypt_cleanup()952 if (active_op->context != NULL) { in soft_crypt_cleanup()953 free(active_op->context); in soft_crypt_cleanup()[all …]