Lines Matching defs:ctxerror
357 gcry_error_t ctxerror;
410 ctxerror = gcry_cipher_open( &ctx, GCRY_CIPHER_CAST5, GCRY_CIPHER_MODE_CBC, 0);
411 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
416 ctxerror = gcry_cipher_setkey(ctx, K_MD5hash, K_hash_len);
417 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
422 ctxerror = gcry_cipher_setiv(ctx, dhx_c2siv, sizeof(dhx_c2siv));
423 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
428 ctxerror = gcry_cipher_decrypt(ctx, ibuf, 16, NULL, 0);
429 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
455 ctxerror = gcry_cipher_setiv(ctx, dhx_s2civ, sizeof(dhx_s2civ));
456 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
461 ctxerror = gcry_cipher_encrypt(ctx, rbuf, 32, NULL, 0);
462 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
499 gcry_error_t ctxerror;
512 ctxerror = gcry_cipher_open( &ctx, GCRY_CIPHER_CAST5, GCRY_CIPHER_MODE_CBC, 0);
513 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
518 ctxerror = gcry_cipher_setkey(ctx, K_MD5hash, K_hash_len);
519 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
524 ctxerror = gcry_cipher_setiv(ctx, dhx_c2siv, sizeof(dhx_c2siv));
525 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {
534 ctxerror = gcry_cipher_decrypt(ctx, ibuf, 16+256, NULL, 0);
535 if (gcry_err_code(ctxerror) != GPG_ERR_NO_ERROR) {