diff options
| author | Miloslav Trmač <mitr@redhat.com> | 2010-10-21 19:21:56 +0200 |
|---|---|---|
| committer | Miloslav Trmač <mitr@redhat.com> | 2010-10-21 19:21:56 +0200 |
| commit | eeee1d64aebbf2d29b322730d1bc4bee0661a07f (patch) | |
| tree | 65d80c6801f6e5d37961664a0c5a18bdc40b0c39 /include | |
| parent | 9a27ed0fb407c404938dadd7d3a347515729f0bb (diff) | |
| download | ncrypto-eeee1d64aebbf2d29b322730d1bc4bee0661a07f.tar.gz ncrypto-eeee1d64aebbf2d29b322730d1bc4bee0661a07f.tar.xz ncrypto-eeee1d64aebbf2d29b322730d1bc4bee0661a07f.zip | |
Add random data generation
Diffstat (limited to 'include')
| -rw-r--r-- | include/ncrypto/ncrypto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ncrypto/ncrypto.h b/include/ncrypto/ncrypto.h index ada244b..b23a8c4 100644 --- a/include/ncrypto/ncrypto.h +++ b/include/ncrypto/ncrypto.h @@ -47,6 +47,10 @@ Red Hat author: Miloslav Trmač <mitr@redhat.com> */ CK_RV ncr_open (void); CK_RV ncr_close (void); + /* Random numbers */ + +CK_RV ncr_get_random_bytes (void *dest, size_t size); + /* Symmetric keys */ struct ncr_symm_key; |
