
linux应用编程学习
蜜汁辣酱^_^
有问题请发邮件到2815287145@qq.com讨论
展开
-
openssl非对称加密填充OAEP
上班访问外网限制,只能访问csdn,个人练习工程代码/* crypto/rsa/rsa_oaep.c */int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, const unsigned char *from, int flen, const unsigned char *param, int plen){原创 2021-07-06 01:14:00 · 744 阅读 · 0 评论 -
openssl与mbedtls互相aes加密解密
上班访问外网限制,只能访问csdn,个人练习工程代码文件读取 1k字节解密加密 256bit cbc模式 mbedtls加密 openssl解密#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h&g原创 2021-07-06 01:08:21 · 1085 阅读 · 0 评论 -
openssl非对称加密填充OAEP
/* crypto/rsa/rsa_oaep.c */int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, const unsigned char *from, int flen, const unsigned char *param, int plen){ return RSA_padding_add_PK原创 2021-07-06 01:00:03 · 701 阅读 · 0 评论 -
rename函数
#include <stdio.h>int rename(const char *oldpath, const char *newpath);#include <fcntl.h> /* Definition of AT_* constants */#include <stdio.h>int renameat(int olddirfd, const char *oldpath, int newdirfd, cons原创 2020-12-28 23:29:28 · 1786 阅读 · 0 评论