Lines Matching refs:symkey

226 +									PK11SymKey* symkey ) ;
2175 + PK11SymKey* symkey ;
2284 + context->symkey = NULL ;
2300 + if( context->symkey != NULL ) {
2301 + PK11_FreeSymKey( context->symkey ) ;
2302 + context->symkey = NULL ;
2342 + PK11SymKey* symkey = NULL ;
2350 + if( context == NULL || context->keyId == NULL || context->symkey != NULL ) {
2370 + if( ( symkey = xmlSecNssSymKeyDataGetKey( keyData ) ) == NULL ) {
2379 + context->symkey = symkey ;
2399 + xmlSecAssert2( ctx->symkey != NULL , -1 ) ;
2464 + xmlSecAssert2( ctx->symkey != NULL , -1 ) ;
2684 + xmlSecAssert2( ctx->symkey != NULL , -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,
2866 + xmlSecAssert2( ctx->symkey != NULL , -1 ) ;
2904 …eateContextBySymKey( ctx->cipher , encrypt ? CKA_ENCRYPT : CKA_DECRYPT , ctx->symkey , secParam ) ;
2964 + xmlSecAssert2( ctx->symkey != NULL , -1 ) ;
3554 + PK11SymKey* symkey ; /* the symmetic key */
3573 + * @symkey: the symmetric key
3582 + PK11SymKey* symkey
3588 + xmlSecAssert2( symkey != NULL, -1 ) ;
3593 + context->cipher = PK11_GetMechanism( symkey ) ;
3599 + context->slot = PK11_GetSlotFromKey( symkey ) ;
3601 + if( context->symkey != NULL ) {
3602 + PK11_FreeSymKey( context->symkey ) ;
3603 + context->symkey = NULL ;
3605 + context->symkey = PK11_ReferenceSymKey( symkey ) ;
3675 + PK11SymKey* symkey ;
3683 + if( ctx->symkey != NULL ) {
3684 + symkey = PK11_ReferenceSymKey( ctx->symkey ) ;
3686 + symkey = NULL ;
3689 + return(symkey);
3767 + if( ctxSrc->symkey != NULL ) {
3768 + if( ctxDst->symkey != NULL && ctxDst->symkey != ctxSrc->symkey ) {
3769 + PK11_FreeSymKey( ctxDst->symkey ) ;
3770 + ctxDst->symkey = NULL ;
3773 + if( ctxDst->symkey == NULL && ctxSrc->symkey != NULL )
3774 + ctxDst->symkey = PK11_ReferenceSymKey( ctxSrc->symkey ) ;
3776 + if( ctxDst->symkey != NULL ) {
3777 + PK11_FreeSymKey( ctxDst->symkey ) ;
3778 + ctxDst->symkey = NULL ;
3802 + if( ctx->symkey != NULL ) {
3803 + PK11_FreeSymKey( ctx->symkey ) ;
3804 + ctx->symkey = NULL ;
4186 + PK11SymKey* symkey ;
4231 + symkey = PK11_KeyGen( slot , ctx->cipher , NULL , sizeBits/8 , NULL ) ;
4232 + if( symkey == NULL ) {
4248 + if( ctx->symkey != NULL ) {
4249 + PK11_FreeSymKey( ctx->symkey ) ;
4250 + ctx->symkey = NULL ;
4252 + ctx->symkey = symkey ;
4279 + if( context->symkey != NULL ) {
4305 + if( context->symkey != NULL ) {
4306 + length = PK11_GetKeyLength( context->symkey ) ;