Lines Matching defs:data
55 !key->payload.data[0])
68 * encrypt_blob - Encrypt data using an asymmetric key
70 * @data: Data blob to be encrypted, length params->data_len
71 * @enc: Encrypted data buffer, length params->enc_len
73 * Encrypt the specified data blob using the private key specified by
74 * params->key. The encrypted data is wrapped in an encoding if
77 * Returns the length of the data placed in the encrypted data buffer or an
81 const void *data, void *enc)
84 return asymmetric_key_eds_op(params, data, enc);
89 * decrypt_blob - Decrypt data using an asymmetric key
91 * @enc: Encrypted data to be decrypted, length params->enc_len
92 * @data: Decrypted data buffer, length params->data_len
94 * Decrypt the specified data blob using the private key specified by
95 * params->key. The decrypted data is wrapped in an encoding if
98 * Returns the length of the data placed in the decrypted data buffer or an
102 const void *enc, void *data)
105 return asymmetric_key_eds_op(params, enc, data);
110 * create_signature - Sign some data using an asymmetric key
112 * @data: Data blob to be signed, length params->data_len
115 * Sign the specified data blob using the private key specified by params->key.
120 * Returns the length of the data placed in the signature buffer or an error.
123 const void *data, void *enc)
126 return asymmetric_key_eds_op(params, data, enc);
149 !key->payload.data[0])