Lines Matching refs:cipher

2174 +	CK_MECHANISM_TYPE		cipher ;
2251 + context->cipher = CKM_DES3_CBC ;
2258 + /* context->cipher = CKM_NETSCAPE_AES_KEY_WRAP ;*/
2259 + context->cipher = CKM_AES_CBC ;
2263 + /* context->cipher = CKM_NETSCAPE_AES_KEY_WRAP ;*/
2264 + context->cipher = CKM_AES_CBC ;
2268 + /* context->cipher = CKM_NETSCAPE_AES_KEY_WRAP ;*/
2269 + context->cipher = CKM_AES_CBC ;
2398 + xmlSecAssert2( ctx->cipher != CKM_INVALID_MECHANISM , -1 ) ;
2410 + if( ( blockSize = PK11_GetBlockSize( ctx->cipher , NULL ) ) < 0 ) {
2463 + xmlSecAssert2( ctx->cipher != CKM_INVALID_MECHANISM , -1 ) ;
2683 + xmlSecAssert2( ctx->cipher != CKM_INVALID_MECHANISM , -1 ) ;
2720 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2751 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2775 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2801 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2865 + xmlSecAssert2( ctx->cipher != CKM_INVALID_MECHANISM , -1 ) ;
2875 + if( ( blockSize = PK11_GetBlockSize( ctx->cipher , NULL ) ) < 0 ) {
2895 + if( ( secParam = PK11_ParamFromIV( ctx->cipher , &ivItem ) ) == NULL ) {
2904 + cipherCtx = PK11_CreateContextBySymKey( ctx->cipher , encrypt ? CKA_ENCRYPT : CKA_DECRYPT , ctx->…
2948 + * Block cipher transform final
2963 + xmlSecAssert2( ctx->cipher != CKM_INVALID_MECHANISM , -1 ) ;
2992 + if( ( blockSize = PK11_GetBlockSize( ctx->cipher , NULL ) ) < 0 ) {
3011 + switch( ctx->cipher ) {
3552 + CK_MECHANISM_TYPE cipher ; /* the symmetic key mechanism */
3593 + context->cipher = PK11_GetMechanism( symkey ) ;
3706 + /* Set the block cipher mechanism */
3709 + ctx->cipher = CKM_DES3_KEY_GEN;
3715 + ctx->cipher = CKM_AES_KEY_GEN;
3724 + "Unsupported block cipher" ) ;
3750 + ctxDst->cipher = ctxSrc->cipher ;
3807 + ctx->cipher = CKM_INVALID_MECHANISM ;
3867 + slot = xmlSecNssSlotGet(ctx->cipher);
3886 + symKey = PK11_ImportSymKey(slot, ctx->cipher, PK11_OriginGenerated, CKA_VALUE, &keyItem, NULL …
4051 + slot = xmlSecNssSlotGet(ctx->cipher);
4068 + symKey = PK11_ImportSymKey(slot, ctx->cipher, PK11_OriginGenerated, CKA_VALUE, &keyItem, NULL …
4211 + slot = xmlSecNssSlotGet(ctx->cipher);
4231 + symkey = PK11_KeyGen( slot , ctx->cipher , NULL , sizeBits/8 , NULL ) ;