Lines Matching refs:buffer
35 #include "buffer.h"
45 /* Load a public rsa key from a buffer, initialising the values.
49 int buf_get_rsa_pub_key(buffer* buf, rsa_key *key) {
85 * Loads a private rsa key from a buffer
87 int buf_get_rsa_priv_key(buffer* buf, rsa_key *key) {
172 /* Put the public rsa key into the buffer in the required format:
178 void buf_put_rsa_pub_key(buffer* buf, rsa_key *key) {
192 void buf_put_rsa_priv_key(buffer* buf, rsa_key *key) {
216 int buf_rsa_verify(buffer * buf, rsa_key *key, const unsigned char* data,
272 * to the buffer */
273 void buf_put_rsa_sign(buffer* buf, rsa_key *key, const unsigned char* data,
389 buffer * rsa_EM = NULL;