Searched defs:ktype (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib-dcrypt/
H A Dostream-encrypt.c246 enum dcrypt_key_type ktype; local
254 ktype = dcrypt_key_type_public(pubkey);
256 if (ktype == DCRYPT_KEY_RSA) {
262 } else if (ktype == DCRYPT_KEY_EC) {
311 char kt = ktype;
H A Distream-decrypt.c279 enum dcrypt_key_type ktype; local
311 ktype = *data++;
375 if (ktype == DCRYPT_KEY_RSA) {
380 } else if (ktype == DCRYPT_KEY_EC) {
434 io_stream_set_error(&stream->istream.iostream, "Decryption error: unsupported key type 0x%02x", ktype);

Completed in 37 milliseconds